package com.xxx.corejava.day1125;

public class Test1 {

    public static void main(String[] args) {

        Person p1=new Person("aaa",26,true);
        Person p2=new Person("bbb",26,false);

        System.out.println(p1.marry(p2));

        Person p3=new Person("ccc",26,true);

        System.out.println(p3.marry(p2));



    }
}
